// Social bookmarks
// (c) www.web-mastery.info, 2008
function bm() {
var title=encodeURIComponent(document.title);var url=encodeURIComponent(location.href);
// dir image
var dir='images/';
var services=[
['bobrdobr.ru/addext.html?url='+url+'&title='+title,'bobr.gif','BobrDobr'],
['memori.ru/link/?sm=1&u_data[url]='+url+'&u_data[name]='+title,'memori.gif','Memori'],
['www.mister-wong.ru/index.php?action=addurl&bm_url='+url+'&bm_description='+title,'wong.gif','Mister Wong'],
['del.icio.us/post?v=4&noui&jump=close&url='+url+'&title='+title,'del.gif','del.icio.us'],
['zakladki.yandex.ru/userarea/links/addfromfav.asp?bAddLink_x=1&lurl='+url+'&lname='+title,'yandex.gif','Yandex'],
['www.google.com/bookmarks/mark?op=add&bkmk='+url+'&title='+title,'google.gif','Google'],
['moemesto.ru/post.php?url='+url+'&title='+title,'mm.gif','MoeMesto']];
var btn='<div>';
for (i=0;i<services.length;i++) {
btn+='<a href="http://'+services[i][0]+'" target=_blank><img src="'+dir+services[i][1]+'" alt="'+services[i][2]+'" style="border:0;padding:0;margin:0 4px 0 0;"></a>';}
btn+='</div>';
document.write(btn);}
bm();